package com.droidwatcher.retrofit;

/**
 * Created by Administrator on 2018/3/20.
 */

public class MyRetrofitFactory {
    private static SendAPI sendAPI ;

//    private MyRetrofitFactory(){
//        sendAPI = new MyRetrofit().getGankService();
//    }

    public static SendAPI getSendAPISingleton() {
        if(sendAPI == null){
            sendAPI = new MyRetrofit().getGankService();
        }
        return sendAPI;
    }
}
